﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="ViewRes" %>
<%
    if (Request.IsAuthenticated)
    {
%>
<%:SharedStrings.LogOnAs%>
<b>
    <%:Page.User.Identity.Name%></b> [
<%:Html.RouteLink(SharedStrings.LogOut, "Default",
                                         new {controller = "Account", action = "LogOff",})%>
]
<%
    }
    else
    {
%>
[
<%:Html.RouteLink(SharedStrings.Login, "Default", new {controller = "Account", action = "LogOn",})%>
]
<%
    }
%>
